package com.demo.day1

fun main() {
    val intRange = 1..10
    println(intRange)
    val charRange = 'a'..'z'
    val longRange = 1L..100L
    val intDownRange = 10 downTo  1
    val charDownRange = 'Z' downTo 'A'
    println(charRange.joinToString())
    println(longRange.joinToString())
    println(intDownRange.joinToString())
    println(charDownRange.joinToString())

    val intRangeStep = 1..20 step 2
    println(intRangeStep.joinToString())

}